<?php
require_once("sqlConn.php");
connectDB();
$reqid=1;
$userID=2;
			$sql="UPDATE friend SET point=point+1 WHERE frid='$reqid' And foid='$userID'";
			$res=mysql_query($sql);
			if(!$res)
				echo "false";
			else
				echo "true";
		

		 echo mysql_errno() . ": " . mysql_error(). "\n";
?>